curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/contact-attribute-keys/{contactAttributeKeyId} \
--header 'x-api-key: <x-api-key>'
Copy
{
"data": {
"createdAt": "2024-11-07T12:25:48.589Z",
"description": "The email of the person",
"environmentId": "cm37a748d0008hbwhqvvuba23",
"id": "cm37a748d000ahbwhd5bbwc09",
"isUnique": true,
"key": "email",
"name": "email",
"type": "default",
"updatedAt": "2024-12-03T13:30:28.620Z"
}
}
Management API > Contact Attribute Keys
Get Contact Attribute Key by ID
Retrieve a specific contact attribute key by its ID. This returns detailed information about how a particular attribute is defined in your environment.
GET
/
api
/
v1
/
management
/
contact-attribute-keys
/
{contactAttributeKeyId}
Get Contact Attribute Key by ID
Copy
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/contact-attribute-keys/{contactAttributeKeyId} \
--header 'x-api-key: <x-api-key>'
Copy
{
"data": {
"createdAt": "2024-11-07T12:25:48.589Z",
"description": "The email of the person",
"environmentId": "cm37a748d0008hbwhqvvuba23",
"id": "cm37a748d000ahbwhd5bbwc09",
"isUnique": true,
"key": "email",
"name": "email",
"type": "default",
"updatedAt": "2024-12-03T13:30:28.620Z"
}
}